package com.yzl.frelink.service.pattern;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.yzl.frelink.entities.component.Chart;

@Component
public class PatternBuilder {
    @Autowired
    Timer timer;

    public Chart buildTimer(String name) {
        return timer.getTimerPattern(name);
    }
}
